<?php

/*
 * Niken Larasati
 * larasati.n@students.amikom.ac.id
 */

class pendidikan_m extends CI_Model{
    public function __construct() {
        parent::__construct();
    }
    
    function ambil_data(){
        $this->db->select('pendidikan.id_didik as id_pendidikan, pendidikan.pendidikan as pendidikan');
        $this->db->from('pendidikan');
        return $this->db->get();
    }
}

?>